<div class="container not-right" style="margin-bottom: 100px;">
	<div class="row">
            <h1 style="font-size: 24px; margin-top: 0; padding-top: 0; padding-bottom: 10px;">Mis Datos</h1>
<% form_for [:clients, @client] do |f| %>

<% if !@client.errors.blank? || !@user.errors.blank? %>
    <% errors = @client.errors.blank? ? @user.errors : @client.errors %>

    <%= render :partial => 'shared/error_messages', :locals => { :errors => errors } %>
<% end %>

			<aside class="col-md-3 not-left">

                <p><span class="bold-text">Nombre / Raz&oacute;n Social</span><br/> <%= @client.name %></p>
                <p><span class="bold-text">CUIT</span><br/> <%= @client.cuit %></p>
                <p><span class="bold-text">Direcci&oacute;n</span><br/> <%= f.text_field :address %></p>
                <p><span class="bold-text">Provincia / Localidad</span><br/> <%= f.text_field :province %></p>
                <p><span class="bold-text">Email</span><br/> <%= f.text_field :email %></p>
                <p><span class="bold-text">Tel&eacute;fono</span><br/> <%= f.text_field :phone %></p>
                <p><span class="bold-text">C&oacute;digo Postal</span><br/> <%= f.text_field :zip_code %></p>
                <p style="padding-top: 20px;"><a class="login" id="submit-trigger" onclick="$(this).parents('form').submit();" href="#">Guardar cambios</a></p>




			</aside>
			<section class="col-md-9 padding-bottom">







	<div class="tab-content">
		<div class="tab-pane active" id="home">
				<div id="product-list" class="row list-group dd">
                    <p><span class="bold-text">Usuario</span><br/> <%= @user.login %></p>

                    <h3>Complete solo si desea cambiar la contrase&ntilde;a</h3>

                    <%= fields_for :user do |u| %>
                      <p><span class="bold-text">Contrase&ntilde;a</span><br/><%= u.password_field :password %></p>
                      <p><span class="bold-text">Repetir Contrase&ntilde;a</span><br/><%= u.password_field :password_confirmation %></p>
                    <% end %>
				</div>
		</div>
		<div class="tab-pane" id="profile">
			<div class="line">

				</div>
	</div>

			</section>


	</div>



		</div>






<% end %>